package server;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.net.ServerSocket;
import java.net.Socket;

import javax.net.ServerSocketFactory;
import javax.net.ssl.SSLServerSocket;
import javax.net.ssl.SSLServerSocketFactory;
import javax.net.ssl.SSLSession;
import javax.net.ssl.SSLSocket;
import javax.security.cert.X509Certificate;

public class ServerMain {

	/**
	 * @param args
	 */
	
	//SERVER
	//testS
	
	public static void main(String[] args) {
		int port=13421;
		Server server=new Server(port);
		System.out.println("Server running at port: "+port);
		try {
			server.startServer();
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}
}